//
//  ZCameraPickerCell.m
//  danpin
//
//  Created by chuangjia on 5/8/15.
//  Copyright (c) 2015 chuangjia. All rights reserved.
//

#import "ZCameraPickerCell.h"

@implementation ZCameraPickerCell
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        self.backgroundColor = [UIColor clearColor];
        
        self.imgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.frame), CGRectGetHeight(self.frame))];
        self.imgView.backgroundColor = [UIColor groupTableViewBackgroundColor];
//        self.imgView.contentMode =UIViewContentModeScaleAspectFill;
        self.imgView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
        [self addSubview:self.imgView];
        
    }
    return self;
}
-(void)dealloc
{
    self.imgView.image =nil;
    self.imgView =nil;
//     NSLog(@"%s", __PRETTY_FUNCTION__);
}
@end